package com.qf.service;


import com.qf.Resp.BaseResp;
import com.qf.assetsappraisal.Assetsappraisal;

import java.util.List;

public interface AssetsappraisalService {

    /*List<Assetsappraisal> findAllAssetsappraisal();

    //查一个
    BaseResp findByBorrowerId(Integer borrowerId);

    //查多个
    List<Assetsappraisal> findAllByBorrowerId(Integer borrowerId);

    Assetsappraisal findById(Integer id);

    String saveOrUpdate(Assetsappraisal assetsappraisal);

    String deleteById(Integer id);
*/
    //Assetsappraisal saveOrUpdateByBorrowerId(Integer borrowerId);
    List<Assetsappraisal> findAllAssetsappraisal();

    //两个字段 模糊查
    List<Assetsappraisal> findByBorrowerIdOrCertificateNameContaining(Integer borrowerId,String certificateName);
    //查多个
    List<Assetsappraisal> findAllByBorrowerId(Integer borrowerId);

    Assetsappraisal findById(Integer id);
    String saveOrUpdate(Assetsappraisal assetsappraisal);
    String deleteById(Integer id);
}
